package com.example.qxfw.nyqx.mapper;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.qxfw.common.entity.ny.AgriSrvFcst;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

@Mapper
@DS("service")
public interface AgriSrvFcstMapper extends BaseMapper<AgriSrvFcst> {

    List<AgriSrvFcst> forecastQuery(@Param("forecastDate") Date forecastDate, @Param("timeChar") String timeChar, @Param("indexName") String indexName);

    Integer delete(@Param("forecastDate") Date forecastDate, @Param("timeChar") String timeChar, @Param("indexName") String indexName);

    List<String> selectIndexName();

}
